/**
 * 
 */
package com.evon.yardmanagement.service;

import java.util.List;


import com.evon.yardmanagement.model.KeyBin;
import com.evon.yardmanagement.model.Vendor;
import com.evon.yardmanagement.model.KeyBin;


/**
 * @author Sandeep
 *
 */
public interface IKeyBinManagementService {
	
	/**
	 * Create the keybins in data base.
	 * Return true if successfully created else return false.
	 * @param keybin
	 * @return
	 */
	public int addKeyBin(KeyBin keybin);
	
	/**
	 * Return all keybins belonging to the company
	 * @param company
	 * @return
	 */
	public List<KeyBin> getkeyBinDetails(Vendor company);
	
	/**
	 * Deactivate the keybin 
	 * @param keybin
	 * @return
	 */
	public boolean deactivateKeyBin(KeyBin keybin);
	
	/**
	 * Return all the keybins available.
	 * @return
	 */
	public List<KeyBin> getAllKeyBins();
	
	public List<KeyBin> getKeyBinByYardId(Integer id);

	public List<KeyBin> getKeyBinByKeyBinId(Integer id);

}
